//
//  Contact.h
//  04-集合(二)
//
//  Created by 402030900@qq.com on 16/7/7.
//  Copyright © 2016年 402030900@qq.com. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Contact : NSObject
{
    //成员变量
    NSString *_name;
    NSString *_sex;
    NSString * _tel;
    NSString * _address;
    NSString * _groupName;
    NSUInteger _age;
}
//属性
@property (nonatomic,retain)NSString * name;
@property (nonatomic,retain)NSString * sex;
@property (nonatomic,retain)NSString * tel;
@property (nonatomic,retain)NSString * address;
@property (nonatomic,retain)NSString * groupName;
@property (nonatomic,assign)NSUInteger age;
//初始化方法
-(instancetype)initWithName:(NSString *)name
                        tel:(NSString *)tel;
-(void)showContact;

@end
